/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface ComunaDAO {
	public Comuna loadComunaByORMID(int co_id) throws PersistentException;
	public Comuna getComunaByORMID(int co_id) throws PersistentException;
	public Comuna loadComunaByORMID(int co_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna getComunaByORMID(int co_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna loadComunaByORMID(PersistentSession session, int co_id) throws PersistentException;
	public Comuna getComunaByORMID(PersistentSession session, int co_id) throws PersistentException;
	public Comuna loadComunaByORMID(PersistentSession session, int co_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna getComunaByORMID(PersistentSession session, int co_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna[] listComunaByQuery(String condition, String orderBy) throws PersistentException;
	public Comuna[] listComunaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna[] listComunaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Comuna[] listComunaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna loadComunaByQuery(String condition, String orderBy) throws PersistentException;
	public Comuna loadComunaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna loadComunaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Comuna loadComunaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Comuna createComuna();
	public boolean save(orm.Comuna comuna) throws PersistentException;
	public boolean delete(orm.Comuna comuna) throws PersistentException;
	public boolean deleteAndDissociate(orm.Comuna comuna) throws PersistentException;
	public boolean deleteAndDissociate(orm.Comuna comuna, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Comuna comuna) throws PersistentException;
	public boolean evict(orm.Comuna comuna) throws PersistentException;
	public Comuna loadComunaByCriteria(ComunaCriteria comunaCriteria);
	public Comuna[] listComunaByCriteria(ComunaCriteria comunaCriteria);
}
